package com.singularity.common.domain.dto.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.singularity.common.domain.dto.role.RoleInfoDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 天
 *
 * @description: 用户列表DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserListDTO {

    private Integer id;

    private String phone;

    private String email;

    private String name;

    private List<RoleInfoDTO> roles = new ArrayList<>();

    private Integer departmentId;
}
